<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use Faker\Generator as Faker;
use App\Model\User;

$factory->define(User::class, function (Faker $faker) {
    return [
        'username'=>$faker->userName,
        'realname'=>$faker->name,
        'password'=>bcrypt('admin888'),
        'email'=>$faker->email,
        'last_ip'=>'',
        'status'=>'正常'
    ];
});
